home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
maximus
/
cdcar202.zip
/
SETICON.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-06-12
|
1KB
|
49 lines
/* CD Carousel Desktop setup program */
'@Echo Off'
Call RxFuncAdd 'SysLoadFuncs', 'REXXUTIL', 'SysLoadFuncs'
Call SysLoadFuncs
Signal On Failure Name FAILURE
Signal On Halt Name HALT
Signal On Syntax Name SYNTAX
Call SysCls
Say 'This program will create an Icon on your Desktop for CD Carousel...'
Say ''
Say 'Please enter the full drive and pathname of the directory where'
Say ' CD Carousel is installed: '
Pull Directory
If Directory = "" Then call done
Say 'Creating program object...'
Title = 'CD Carousel v2.02'
Type = 'WPProgram'
Folder = '<WP_DESKTOP>'
Parms = "MINWIN=DESKTOP;PROGTYPE=PM;EXENAME="Directory"\CDMENU.CMD;STARTUPDIR="Directory";OBJECTID="Directory"\CDCAR;NOPRINT=YES;"
Result = SysCreateObject( Type, Title, Folder, Parms, 'ReplaceIfExists' )
If Result = 1 Then
Say 'Object created! Done.'
Else
Say 'ERROR: Object not created.'
Signal DONE
FAILURE:
Say 'REXX failure.'
Signal DONE
HALT:
Say 'REXX halt.'
Signal DONE
SYNTAX:
Say 'REXX syntax error.'
Signal DONE
DONE:
Exit